package s15.ch18.ex3;

import s15.ch18.ex3.MyThread;

public class MyUnsynchronizedObject {

	public static void main(String[] args) throws InterruptedException {
		
		MyClass myClass = new MyClass(10);
		
		MyThread myA = new MyThread("MyA", myClass);
		myA.start();
		
		
		MyThread myB = new MyThread("MyB", myClass);
		myB.start();

		Thread.sleep(10000);
		
		myClass.notifyAll();
		
	}

}
